package com.dwxt.sport.business.dao;

import com.dwxt.sport.business.entity.FitnessSurveyEquipment;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.HashMap;
import java.util.List;

@org.apache.ibatis.annotations.Mapper
public interface FitnessSurveyEquipmentMapper extends Mapper<FitnessSurveyEquipment> {

    List<FitnessSurveyEquipment> selectFitnessSurveyEquipmenByFitnessSurveyId(String fitnessSurveyId);

    int deleteFitnessSurveyEquipmentByIds(@Param("ids") String[] idArray);

    HashMap selectStatisticsByHealthId(String fitnessSurveyId);

    Integer selectCountAll();

    Integer selectCountByDeviceStatesOne();
}